package com.leo.securitydemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author leo
 * @since 2022-07-24
 */
@Getter
@Setter
  @TableName("sys_menu")
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 菜单名
     */
      private String menuName;

      /**
     * 路由地址
     */
      private String path;

      /**
     * 组件路径
     */
      private String component;

      /**
     * 菜单状态（0显示 1隐藏）
     */
      private String visible;

      /**
     * 菜单状态（0正常 1停用）
     */
      private String status;

      /**
     * 权限标识
     */
      private String perms;

      /**
     * 菜单图标
     */
      private String icon;

    private Long createBy;

    private LocalDateTime createTime;

    private Long updateBy;

    private LocalDateTime updateTime;

      /**
     * 是否删除（0未删除 1已删除）
     */
      private Integer delFlag;

      /**
     * 备注
     */
      private String remark;


}
